package com.cd.service.search.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cd.bean.News;
import com.cd.bean.SearchCondition;
import com.cd.dao.SearchMapper;
import com.cd.service.search.SearchService;

/**
 * 搜索功能
 *@Author zhk
 *@Date 2018-2-5
 **/
@Service("searchService")
public class SearchServiceImpl implements SearchService{

	@Autowired
	SearchMapper searchMapper;

	/**
	 * 搜素
	 */
	@Override
	public List<SearchCondition> search(SearchCondition searchCondition) throws Exception {
		return searchMapper.search(searchCondition);
	}
	
	
	
}
